package com.shine.app.bean;

import com.google.gson.annotations.SerializedName;
import com.shine.app.commons.StringUtils;

public class AddressInfoBean extends BaseBean {
	private static final long serialVersionUID = 1L;
	@SerializedName("Address")
	private String address;
	@SerializedName("Address2")
	private String address2;
	@SerializedName("City")
	private String city;
	@SerializedName("StateCode")
	private String stateCode;
	@SerializedName("ZipCode")
	private String zipCode;
	@SerializedName("Country2IsoCode")
	private String country2IsoCode;
	@SerializedName("HasData")
	private boolean hasData;

	public String getCountry2IsoCode() {
		if (StringUtils.isEmpty(country2IsoCode)) {
			country2IsoCode = "";
		}
		return country2IsoCode;
	}

	public void setCountry2IsoCode(String country2IsoCode) {
		this.country2IsoCode = country2IsoCode;
	}

	public boolean isHasData() {
		return hasData;
	}

	public void setHasData(boolean hasData) {
		this.hasData = hasData;
	}

	public String getAddress() {
		if (StringUtils.isEmpty(address)) {
			address = "";
		}
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress2() {
		if (StringUtils.isEmpty(address2)) {
			address2 = "";
		}
		return address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getCity() {
		if (StringUtils.isEmpty(city)) {
			city = "";
		}
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getStateCode() {
		if (StringUtils.isEmpty(stateCode)) {
			stateCode = "";
		}
		return stateCode;
	}

	public void setStateCode(String stateCode) {
		this.stateCode = stateCode;
	}

	public String getZipCode() {
		if (StringUtils.isEmpty(zipCode)) {
			zipCode = "";
		}
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

}
